home *** CD-ROM | disk | FTP | other *** search
-
- ~4Dgifts/toolbox/public/rayshade/Rayshade.4.0.6 README.sgi
-
-
- we are extremely pleased to include this ray tracing software package
- with the express permission of Craig Kolb. this software came from:
- ftp:/princeton.edu/pub/Graphics/rayshade.4.0/rayshade.4.0.6.tar.Z
- and the accompanying html documentation packages of Jelle van Zeijl's
- RS_docs_html-1.4.tar.gz and Stephen Peter's raynotes.tar.gz from
- ftp:/princeton.edu/pub/Graphics/rayshade.4.0/Contrib/Docs
-
- this file contains 3 sections:
- * COPYRIGHT NOTICE
- * DIFFERENCES WITH RAYSHADE 4.0.6
- * RUNNING Configure
-
-
- _____________________________________________________________________________
- _____________________________________________________________________________
- =================
- COPYRIGHT NOTICE:
- =================
-
- The source, documentation, and examples in this Rayshade distribution are:
-
- Copyright (C) 1989,1991,1992,1993, Craig Kolb
-
- You may not distribute this software, in whole or in part, as part of
- any commercial product without the express consent of the authors.
-
- Otherwise, this software may be freely copied, modified, and
- redistributed provided that this copyright notice is preserved on
- all copies.
-
- There is no warranty or other guarantee of fitness of this software
- for any purpose. It is provided solely "as is".
-
-
- For information on licensing Rayshade for use in your application,
- please contact:
-
- Craig Kolb
- 39A Roxbury Court
- Princeton, NJ 08540
- (609) 924-9275 or
- (609) 258-1771
- cek@princeton.edu
-
-
-
-
-
- _____________________________________________________________________________
- _____________________________________________________________________________
- ===============================
- DIFFERENCES WITH RAYSHADE 4.0.6
- ===============================
-
- This version of rayshade 4.0.6 differs from the version distributed by
- Craig Kolb, from Princeton, in one respect. I made same quick
- alterations so that images are output in SGI RGB format using libimage
- instead of the rayshade standard which is Utah Raster format. This
- change is significant in that you can no longer output images to
- standard out. This means you can't do this with this version:
-
- rayshade example.ray > example.urt
-
- You have to specify an output file:
-
- rayshade example.ray -O example.rgb
-
- Also note that if you are producing a sequence of images for an
- animation at present the SGI RGB code will suffix the RGB file names
- with a frame number.
-
- My changes are in:
-
- libshade/picture.c
-
- Look for these changes marked by:
-
- #define SGI_RGB
- #ifndef SGI_RGB
-
- To disable these modifications remove:
-
- #undef URT
-
- and remove:
-
- #define SGI_RGB
-
- and then recompile.
-
-
- Also note that this rayshade distribution is the basic version of 4.0.6.
- There are a number of patches available from various places to fix bugs
- or add interesting new features to this version. Time didn't permit
- integrating and testing these so this is an exercise left to the reader.
- Many of these mods are referenced in the HMTL docs.
-
- For the next DT I hope to improve my image file mods and put in more
- patches. I also plan to make some rayshade command files to produce
- images of sphere's that can by using in Teschner and Henn's Phong
- lighting eumlation using texture maps found elsewhere on Dave Ratcliffe's
- way cool Developr's Toolbox.
-
- If you have questions or comments:
-
- millard@sgi.com
-
-
- _____________________________________________________________________________
- _____________________________________________________________________________
- ==================
- RUNNING Configure:
- ==================
-
- run Configure to set yerself up on the machine yer on. press return
- (i.e. go with the default) with every question except the following:
-
- ...
- I see a config.sh file. Did Configure make it on THIS system? [y] no
- Any additional libraries? [-lm -lmalloc -lc_s] -limage -lm
- ...
- Any additional cc flags? [ -DLANGUAGE_C] -cckr
- ...
- Function rand does not exists. Use that name anyway? [n] yes
- ...
- Run make depend now? [n] yes
-
-
- the entire set of questions sequence you will be asked is listed below:
- ------------------------------------------------------------------------
-
- [Type carriage return to continue]
- [Type carriage return to continue]
- Any additional libraries? [-lm -lmalloc -lc_s] -limage -lm
- Which models are supported? [none]
- What command will force resolution on this system? [cc]
- What optimizer/debugger flag should be used? [-O]
- Any additional cc flags? [ -DLANGUAGE_C] -cckr
- Any additional ld flags (NOT including libraries)? [none]
- What directory holds the Utah Raster Toolkit include files? [none]
- Use which function to generate random numbers? [rand]
- Function rand does not exists. Use that name anyway? [n] yes
- How many bits does your rand() function produce? [15]
- Your void support flags add up to what? [11]
- Where do you want to put the public executables? (~name ok) [/usr/local/bin]
- Name of program to make makefile dependencies? [/usr/people/4Dgifts/toolbox/public/rayshade/Rayshade.4.0.6/mkdep]
- Which compiler compiler (yacc or bison -y) will you use? [yacc]
- End of configuration questions.
-
-
- Creating config.sh...
-
- If you didn't make any mistakes, then just type a carriage return here.
- If you need to edit config.sh, do it as a shell escape here:
- ...
- Run make depend now? [n] yes
-